From 6f359aa6630caac2fb1452092b2e0211acd767f6 Mon Sep 17 00:00:00 2001 From: robertl Date: Sun, 29 Aug 2010 19:45:52 +0000 Subject: [PATCH] Fix crash in subrip on start of file. --- subrip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subrip.c b/subrip.c index c347c398c..0958ccba3 100644 --- a/subrip.c +++ b/subrip.c @@ -157,7 +157,7 @@ subrip_trkpt_pr(const waypoint *waypointp) * way of solving this should be trivial to you :-) */ { - time_offset = sync_time(prevwpp->creation_time, opt_videotime); + time_offset = sync_time(waypointp->creation_time, opt_videotime); } if (prevwpp) -- 2.30.2